home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form QUES7
- BackColor = &H00800080&
- BorderStyle = 3 'Fixed Double
- Caption = "Question7"
- ClientHeight = 3570
- ClientLeft = 2865
- ClientTop = 2010
- ClientWidth = 5520
- ClipControls = 0 'False
- ControlBox = 0 'False
- Height = 3975
- Left = 2805
- LinkTopic = "Form6"
- MaxButton = 0 'False
- MDIChild = -1 'True
- MinButton = 0 'False
- ScaleHeight = 3570
- ScaleWidth = 5520
- Top = 1665
- Width = 5640
- Begin CommandButton Command1
- Caption = "Press this button to end survey."
- Default = -1 'True
- Height = 615
- Index = 3
- Left = 1080
- TabIndex = 0
- Top = 2400
- Width = 3255
- End
- Begin Label Label2
- BackColor = &H00800080&
- Caption = "E-Quest - v1.0 SCOTTH@WAGGED.COM"
- Height = 255
- Left = 1320
- TabIndex = 2
- Top = 3360
- Width = 4215
- End
- Begin Label Label1
- Alignment = 2 'Center
- BackColor = &H00800080&
- Caption = "Thank you for your time"
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 48
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- ForeColor = &H0000FFFF&
- Height = 2175
- Left = 240
- TabIndex = 1
- Top = 120
- Width = 5055
- End
- Sub Command1_Click (index As Integer)
- Dim user As String
- user = Environ$("ws")
- Open "D:\PUB\ANS.TXT" For Append Access Write Shared As 1
- Print #1, Date, user, 1, question1
- Print #1, Date, user, 2, question2
- Print #1, Date, user, 3, question3
- Print #1, Date, user, 4, question4
- Print #1, Date, user, 5, question5
- Print #1, Date, user, 6, question6
- Close #1
- End
- End Sub
-